package com.farm.area.service;

import com.farm.area.pojo.FarmArea;
import com.farm.entity.PageResult;

import java.util.List;
import java.util.Map;

/**
 * @author azhe
 * @create 2020/10/10
 */
public interface FarmAreaService {
    List<Map<String, Object>> findAll();

    void add(FarmArea farmArea);

    void update(FarmArea farmArea);

    void delete(Integer id);

    PageResult findPage(Integer page, Integer size, Map searchMap);
}
